package com.jyy.server.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jyy.server.pojo.Menu;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author jyy
 * @since 2021-09-21
 */
@Repository
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getMenuByAdminId(Integer id);

    List<Menu> getMenusWithRole();

    List<Menu> getAllMenus();
}
